package com.xca.znb.presenter;

import com.xca.znb.model.imodel.ILocal;
import com.xca.znb.model.impl.LocalImpl;

public class LocalPresenter {
    private ILocal iLocal ;
    public LocalPresenter(ILocal iLocal){
        this.iLocal = iLocal ;
    }

    public boolean addLocal(String name , String phone , String address , String type , String login_phone){
        return iLocal.addLocal(name , phone , address , type , login_phone);
    }
    public void updateLocalType(String login_phone){
        iLocal.updateLocalType(login_phone);
    }
}
